package com.czh.mock.providers.text.name;

public class NameConfig {
    /**
     * 区分性别
     */
    private Boolean sex = false;
    /**
     * 男性
     */
    private Boolean male;
    public static final int EXCLUSIVE_SURNAME_MIN_LENGTH = 1;
    public static final int EXCLUSIVE_SURNAME_MAX_LENGTH = 2;

    private NameConfig() {
    }

    private NameConfig(Boolean sex, Boolean male) {
        this.sex = sex;
        this.male = male;
    }

    public static NameConfig build() {
        return new NameConfig(false, null);
    }

    public static NameConfig build(boolean sex, boolean male) {
        return new NameConfig(sex, male);
    }

    public Boolean getSex() {
        return sex;
    }

    public Boolean getMale() {
        return male;
    }
}
